package com.lly.songhigh.activity;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.widget.Toolbar;
import android.view.View;

import com.lly.songhigh.R;
import com.lly.songhigh.application.BaseApplication;
import com.lly.songhigh.constant.StringResouce;

/**
 * Created by 李海龙 on 15/11/7.
 */
public class AboutActivity extends BaseActivity {
    private Toolbar aboutToolbar;
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        BaseApplication.getInstance().addActivity(this);
        setContentView(R.layout.activity_about);
        aboutToolbar = (Toolbar) findViewById(R.id.about_toolbar);
        aboutToolbar.setNavigationIcon(R.mipmap.toolbar_back);
        aboutToolbar.setNavigationOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
        aboutToolbar.setTitle(StringResouce.ABOUT);
        aboutToolbar.setTitleTextColor(0xFFFFFFFF);
    }
}
